<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>tpl hello</title>
        <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/popper.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col">.col</div>
        <div class="col">
            <form action="/hello/template/" method="post">
                <div class="form-group">
                    <label>username:</label>
                    <input type="text" class="form-control" name="username">
                </div>
                <div class="form-group">
                    <label>password:</label>
                    <input type="password" class="form-control" name="password">
                </div>
                <button type="submit" class="btn btn-primary">login</button>
            </form>
            {% if result %}
                {{ result }}
            {% endif %}
        </div>
        <div class="col">.col</div>
    </div>
</div>
</body>
</html>